const loginRouter = require("koa-router");
const router = new loginRouter();
const controller = require("../controller/loginController");

router.get("/", (cxt, next) => {
  cxt.redirect("/login.html");
});
router.post("/", controller.find);

module.exports = router;
